package com.ruoyi.net.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-srtp配置对象 busi_srtp
 * 
 * @author net
 * @date 2024-12-05
 */
public class BusiSrtp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 业务名称 */
    @Excel(name = "业务名称")
    @ApiModelProperty(value = "业务名称")
    private String busiName;

    /** 保护类型（无保护、1:1保护、1:1保护带恢复） */
    @Excel(name = "保护类型", readConverterExp = "无=保护、1:1保护、1:1保护带恢复")
    @ApiModelProperty(value = "保护类型")
    private String protectType;

    /** 故障检测类型（0无、1OAM） */
    @Excel(name = "故障检测类型", readConverterExp = "0=无、1OAM")
    @ApiModelProperty(value = "故障检测类型")
    private String faultType;

    /** 邻接标签类型（全局） */
    @Excel(name = "邻接标签类型", readConverterExp = "全=局")
    @ApiModelProperty(value = "邻接标签类型")
    private String neighbLabelType;

    /** 隧道方向 */
    @Excel(name = "隧道方向")
    @ApiModelProperty(value = "隧道方向")
    private String tunnelDirection;

    /** 客户名称 */
    @Excel(name = "客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    /** 服务等级 */
    @Excel(name = "服务等级")
    @ApiModelProperty(value = "服务等级")
    private String serviceLevel;

    /** 是否避开同网元（Y是 N否） */
    @Excel(name = "是否避开同网元", readConverterExp = "Y=是,N=否")
    @ApiModelProperty(value = "是否避开同网元")
    private String awayElementFlag;

    /** 是否避开同单盘 （Y是 N否） */
    @Excel(name = "是否避开同单盘 ", readConverterExp = "Y=是,N=否")
    @ApiModelProperty(value = "是否避开同单盘 ")
    private String awayDiskFlag;

    /** 是否避开同端口（Y是 N否） */
    @Excel(name = "是否避开同端口", readConverterExp = "Y=是,N=否")
    @ApiModelProperty(value = "是否避开同端口")
    private String awayPortFlag;

    /** 寻路策略 */
    @Excel(name = "寻路策略")
    @ApiModelProperty(value = "寻路策略")
    private String routeStrategy;

    /** 告警状态 */
    @Excel(name = "告警状态")
    @ApiModelProperty(value = "告警状态")
    private String warnStatus;

    /** 激活用户 */
    @Excel(name = "激活用户")
    @ApiModelProperty(value = "激活用户")
    private String activateUser;

    /** 激活时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "激活时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "激活时间")
    private Date activateTime;

    /** 业务使用分类 */
    @Excel(name = "业务使用分类")
    @ApiModelProperty(value = "业务使用分类")
    private String busiUseType;

    /** 源网元 */
    @Excel(name = "源网元")
    @ApiModelProperty(value = "源网元")
    private String startElement;

    /** 宿网元 */
    @Excel(name = "宿网元")
    @ApiModelProperty(value = "宿网元")
    private String endElement;

    /** 重路由锁定状态 */
    @Excel(name = "重路由锁定状态")
    @ApiModelProperty(value = "重路由锁定状态")
    private String reroutingLockStatus;

    /** 重路由状态 */
    @Excel(name = "重路由状态")
    @ApiModelProperty(value = "重路由状态")
    private String reroutingStatus;

    /** 倒换状态 */
    @Excel(name = "倒换状态")
    @ApiModelProperty(value = "倒换状态")
    private String rearrangeStatus;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未完成,1=已完成")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    private String tunnelId;

    public String getTunnelId() {
        return tunnelId;
    }

    public void setTunnelId(String tunnelId) {
        this.tunnelId = tunnelId;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBusiName(String busiName) 
    {
        this.busiName = busiName;
    }

    public String getBusiName() 
    {
        return busiName;
    }
    public void setProtectType(String protectType) 
    {
        this.protectType = protectType;
    }

    public String getProtectType() 
    {
        return protectType;
    }
    public void setFaultType(String faultType) 
    {
        this.faultType = faultType;
    }

    public String getFaultType() 
    {
        return faultType;
    }
    public void setNeighbLabelType(String neighbLabelType) 
    {
        this.neighbLabelType = neighbLabelType;
    }

    public String getNeighbLabelType() 
    {
        return neighbLabelType;
    }
    public void setTunnelDirection(String tunnelDirection) 
    {
        this.tunnelDirection = tunnelDirection;
    }

    public String getTunnelDirection() 
    {
        return tunnelDirection;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setServiceLevel(String serviceLevel) 
    {
        this.serviceLevel = serviceLevel;
    }

    public String getServiceLevel() 
    {
        return serviceLevel;
    }
    public void setAwayElementFlag(String awayElementFlag) 
    {
        this.awayElementFlag = awayElementFlag;
    }

    public String getAwayElementFlag() 
    {
        return awayElementFlag;
    }
    public void setAwayDiskFlag(String awayDiskFlag) 
    {
        this.awayDiskFlag = awayDiskFlag;
    }

    public String getAwayDiskFlag() 
    {
        return awayDiskFlag;
    }
    public void setAwayPortFlag(String awayPortFlag) 
    {
        this.awayPortFlag = awayPortFlag;
    }

    public String getAwayPortFlag() 
    {
        return awayPortFlag;
    }
    public void setRouteStrategy(String routeStrategy) 
    {
        this.routeStrategy = routeStrategy;
    }

    public String getRouteStrategy() 
    {
        return routeStrategy;
    }
    public void setWarnStatus(String warnStatus) 
    {
        this.warnStatus = warnStatus;
    }

    public String getWarnStatus() 
    {
        return warnStatus;
    }
    public void setActivateUser(String activateUser) 
    {
        this.activateUser = activateUser;
    }

    public String getActivateUser() 
    {
        return activateUser;
    }
    public void setActivateTime(Date activateTime) 
    {
        this.activateTime = activateTime;
    }

    public Date getActivateTime() 
    {
        return activateTime;
    }
    public void setBusiUseType(String busiUseType) 
    {
        this.busiUseType = busiUseType;
    }

    public String getBusiUseType() 
    {
        return busiUseType;
    }
    public void setStartElement(String startElement) 
    {
        this.startElement = startElement;
    }

    public String getStartElement() 
    {
        return startElement;
    }
    public void setEndElement(String endElement) 
    {
        this.endElement = endElement;
    }

    public String getEndElement() 
    {
        return endElement;
    }
    public void setReroutingLockStatus(String reroutingLockStatus) 
    {
        this.reroutingLockStatus = reroutingLockStatus;
    }

    public String getReroutingLockStatus() 
    {
        return reroutingLockStatus;
    }
    public void setReroutingStatus(String reroutingStatus) 
    {
        this.reroutingStatus = reroutingStatus;
    }

    public String getReroutingStatus() 
    {
        return reroutingStatus;
    }
    public void setRearrangeStatus(String rearrangeStatus) 
    {
        this.rearrangeStatus = rearrangeStatus;
    }

    public String getRearrangeStatus() 
    {
        return rearrangeStatus;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("busiName", getBusiName())
            .append("protectType", getProtectType())
            .append("faultType", getFaultType())
            .append("neighbLabelType", getNeighbLabelType())
            .append("tunnelDirection", getTunnelDirection())
            .append("customerName", getCustomerName())
            .append("serviceLevel", getServiceLevel())
            .append("awayElementFlag", getAwayElementFlag())
            .append("awayDiskFlag", getAwayDiskFlag())
            .append("awayPortFlag", getAwayPortFlag())
            .append("routeStrategy", getRouteStrategy())
            .append("warnStatus", getWarnStatus())
            .append("activateUser", getActivateUser())
            .append("activateTime", getActivateTime())
            .append("busiUseType", getBusiUseType())
            .append("startElement", getStartElement())
            .append("endElement", getEndElement())
            .append("reroutingLockStatus", getReroutingLockStatus())
            .append("reroutingStatus", getReroutingStatus())
            .append("rearrangeStatus", getRearrangeStatus())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
